<style>
.win {
	color: Green;
}
.lost {
	color: Fuchsia;
}
.btnplus {height:12pt; width:12pt; margin:0; border:1px; background:#6363A6; color:white; font:10pt Tahoma;cursor: pointer;}
.btnmin {height:12pt; width:12pt; margin:0; border:1px; background:#964A6E; color:white; font:10pt Tahoma;cursor: pointer;}
.btnchoice {
	padding: 2pt 2pt 2pt 2pt;
	border: 1pt solid #aaa;
	cursor: pointer;
}
.btnchoiced {
	padding: 2pt 2pt 2pt 2pt;
	border: 1px solid Lime;
	background-color: Green;
	color: white;
}
.rate {font-weight:bold; color:red; font-family:Tahoma}
.td1red {
	background-color:#DFF9FF;color:red;font-weight:bold;text-align:center;
}
.td1blue {
	background-color:#DFF9FF;color:blue;font-weight:bold;text-align:center;
}
.td1green {
	background-color:#DFF9FF;color:green;font-weight:bold;text-align:center;
}
</style>
<script src="scr/{jslang}/snow1.js"></script>
{menuList}
<br>
<table width="100%" border=0 cellpadding=0 cellspacing=0>
<tr><td>
<span id="hktime"></span>，
<span id="countdownstr"></span>
</td></tr>
</table>

<table width="998" border=0 cellpadding=5 cellspacing=0>
<tr valign="top"><td colspan=5>
<div id=div0></div>
<table width="998" border=0 cellpadding=5 cellspacing=0>
<tr><td width="54%" nowrap>快选 
<span id=btn011 class=btnchoiced onclick="chsbtn(11)">红</span>
<span id=btn012 class=btnchoice onclick="chsbtn(12)">蓝</span>
<span id=btn013 class=btnchoice onclick="chsbtn(13)">绿</span>
<span id=btn014 class=btnchoice onclick="chsbtn(14)">单</span>
<span id=btn015 class=btnchoice onclick="chsbtn(15)">双</span>
<span id=btn016 class=btnchoice onclick="chsbtn(16)">大</span>
<span id=btn017 class=btnchoice onclick="chsbtn(17)">小</span>
<span id=btn018 class=btnchoice onclick="chsbtn(18)">合单</span>
<span id=btn019 class=btnchoice onclick="chsbtn(19)">合双</span>
<span id=btn022 class=btnchoice onclick="chsbtn(22)">家禽</span>
<span id=btn023 class=btnchoice onclick="chsbtn(23)">野兽</span>
<span id=btn037 class=btnchoice onclick="chsbtn(37)">特尾大</span>
<span id=btn038 class=btnchoice onclick="chsbtn(38)">特尾小</span>
<span id=btn020 class=btnchoice onclick="chsbtn(20)">全部</span>
<td width="46%" nowrap>减量 
<span id=btn05 class=btnchoice onclick="chsbtn(5)">5</span>
<span id=btn04 class=btnchoice onclick="chsbtn(4)">4</span>
<span id=btn03 class=btnchoice onclick="chsbtn(3)">3</span>
<span id=btn02 class=btnchoice onclick="chsbtn(2)">2</span>
<span id=btn01 class=btnchoice onclick="chsbtn(1)">1</span>
<span id=btn005 class=btnchoiced onclick="chsbtn(0.5)">0.5</span>
<span id=btn004 class=btnchoice onclick="chsbtn(0.4)">0.4</span>
<span id=btn003 class=btnchoice onclick="chsbtn(0.3)">0.3</span>
<span id=btn002 class=btnchoice onclick="chsbtn(0.2)">0.2</span>
<span id=btn001 class=btnchoice onclick="chsbtn(0.1)">0.1</span>
<span id=btn0005 class=btnchoice onclick="chsbtn(0.05)">0.05</span>
<span id=btn0003 class=btnchoice onclick="chsbtn(0.03)">0.03</span>
<span id=btn0001 class=btnchoice onclick="chsbtn(0.01)">0.01</span>
<span id=btn00005 class=btnchoice onclick="chsbtn(0.005)">0.005</span>
<span id=btn00001 class=btnchoice onclick="chsbtn(0.001)">0.001</span>
<input type=button onclick="btnratediff(1)" value=- class=btnmin>
<input type=button onclick="btnratediff(-1)" value="&Phi;" class=btnplus></td></tr>
<tr><td nowrap>
<span id=btn025 class=btnchoice onclick="chsbtn(25)">红单</span>
<span id=btn026 class=btnchoice onclick="chsbtn(26)">红双</span>
<span id=btn027 class=btnchoice onclick="chsbtn(27)">红大</span>
<span id=btn028 class=btnchoice onclick="chsbtn(28)">红小</span>
<span id=btn029 class=btnchoice onclick="chsbtn(29)">蓝单</span>
<span id=btn030 class=btnchoice onclick="chsbtn(30)">蓝双</span>
<span id=btn031 class=btnchoice onclick="chsbtn(31)">蓝大</span>
<span id=btn032 class=btnchoice onclick="chsbtn(32)">蓝小</span>
<span id=btn033 class=btnchoice onclick="chsbtn(33)">绿单</span>
<span id=btn034 class=btnchoice onclick="chsbtn(34)">绿双</span>
<span id=btn035 class=btnchoice onclick="chsbtn(35)">绿大</span>
<span id=btn036 class=btnchoice onclick="chsbtn(36)">绿小</span>
<span id=btn021 class=btnchoice onclick="chsbtn(21)">前10</span>
<span id=btn024 class=btnchoice onclick="chsbtn(24)">前 5</span>
<td>&#12288; </td></tr>
<tr><td>补货赔率：
<input name=bo1 value="{bo1}" size=3>
&#12288;最大输值：
<input name=bo2 value="{bo2}" size=8>&#12288;
<input type=button value="补货计算"  onclick=bo() onmouseout="this.style.color='';" onmouseover="this.style.color='#0CDDFF';">&#12288;&#12288;&#12288;
<td><input type=button value="资料刷新" onclick=timer() onmouseout="this.style.color='';" onmouseover="this.style.color='#0CDDFF';"></td></tr>
</table>
</td>
</tr>
</table>

<table width="998" border=0 cellpadding=5 cellspacing=0>
<tr valign=top cellpadding=5>
<td><div id=div1></div></td>
<td><div id=div2></div></td>
<td><div id=div3></div></td>
<td><div id=div47></div></td>
<td><div id=div20></div></td>
</tr>
</table>

<table width="990" border=0 cellpadding=5 cellspacing=0>
<tr valign=top cellpadding=5>
<td><div id=div18></div>合计：<b id=amount18></b></td>
<td>&nbsp;</td>
<td><div id=div14></div>合计：<b id=amount14></b></td>
</tr>
</table>

<table width="990" border=0 cellpadding=5 cellspacing=0>
<tr valign=top cellpadding=5>
<td><div id=div13></div></td>
<td><div id=div46></div></td>
<td><div id=div28></div></td>
<td><div id=div30></div></td>
</tr>
</table>

<table width="990" style="display:none" border=0 cellpadding=5 cellspacing=0>
<tr valign=top cellpadding=5>
<td><div id=div49></div></td>
<td><div id=div50></div></td>
<td></td>
<td></td>
</tr>
</table>

<script>
_id = {lotto_id};
_open = "{open}";

_total = "合计";
_tb0head = "<td nowrap>号码</td><td nowrap>金额</td><td nowrap>输赢</td><td nowrap>补货</td><td nowrap>赔率</td><td nowrap>操盘</td>";
_tb1head = "<td nowrap>类别</td><td nowrap>金额</td><td nowrap>输赢</td><td nowrap>赔率</td><td nowrap>操盘</td>";
_tb14head = "<td nowrap>生肖</td><td nowrap>金额</td><td nowrap>输赢</td><td nowrap>赔率</td><td nowrap>操盘</td>";
_tb18head = "<td nowrap>半波</td><td nowrap>金额</td><td nowrap>输赢</td><td nowrap>赔率</td><td nowrap>走飞</td>";
_name1 = ["","特单","特双"];
_name2 = ["","特大","特小"];
_name2a = ["","家禽","野兽"];
_name3 = ["","合单","合双"];
_name13 = ["","红波","蓝波","绿波"];
_name14 = ["","鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"];
_name18 = ["","红单","红双","红大","红小","蓝单","蓝双","蓝大","蓝小","绿单","绿双","绿大","绿小"];
_name28 = ["","特尾大","特尾小"];
_name30 = ["","合尾大","合尾小"];
_name47 = ["","合大","合小"];
_name49 = ["头0","头1","头2","头3","头4"];
_name50 = ["尾0","尾1","尾2","尾3","尾4","尾6","尾7","尾8","尾9"];
_status = "更新资料中.....";

function nowdate()
{
	document.all.hktime.innerHTML = "香港时间：<b>"+now.getDate()+"日"+d2(now.getHours())+":"+d2(now.getMinutes())+":"+d2(now.getSeconds())+"</b>";
	now.setTime(now.getTime() + 1000);
}

function countdown()
{
	var str = "<font color=red><b>已经截止下注！</b></font>";
	timediff = timestap;
	if (timestap >= 0) {
		days = Math.floor(timediff / (60 * 60 * 24));
		timediff -= days * (60 * 60 * 24);
		hours = Math.floor(timediff / (60 * 60));
		timediff -= hours * (60 * 60);
		mins = Math.floor(timediff / (60));
		timediff -= mins * (60);
		secs = Math.floor(timediff);
	
		str = "距离截止下注时间还有 ";
		if (days > 0 ) str += "<b>" + days + "</b> 天 ";
		if (hours > 0) str += "<b>" + hours + "</b> 小时 ";
		if (mins > 0) str += "<b>" + mins + "</b> 分钟 ";
		str += "<b>" + secs + "</b> 秒 ";
		timestap-=1;
	}
	countdownstr.innerHTML =  str;
}

var timestap = {timestap};
var now = new Date(1000 * {phptime});

setInterval("nowdate()", 1000);
setInterval("countdown()", 1000);

</script>